package com.durian.domain.DTO;

import jakarta.validation.constraints.NotBlank;
import lombok.*;

import java.io.Serializable;

/**
 * 用户登录 DTO
 *
 * @author Durian
 * @since 2023-12-15
 */
@Data
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ObsUserLoginDTO implements Serializable {

    /**
     * 用户手机号
     */
    @NotBlank(message = "用户手机号不能为空")
    private String userTel;

    /**
     * 用户密码
     */
    @NotBlank(message = "用户密码不能为空")
    private String password;

}
